import os
import imageio

image=[]
path='D:\\gluoncv\\gluoncv\\gluon\\data\\fuwo_test2\\'

for i in range(1,11):
    name=path + str(i) + '.jpg'
    print(i)
    image.append(imageio.imread(name))
imageio.mimsave('D:\\gluoncv\\gluoncv\\gluon\\data\\'+'my.gif',image,duration=0.1)